package com.ruoyi;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cache.annotation.EnableCaching;

/**
 * 启动程序
 *
 * @author chenshixian
 */
@SpringBootApplication(
        exclude = {DataSourceAutoConfiguration.class},
        scanBasePackages = {"com.ruoyi", "com.eclink"}
)
//开启缓存功能
@EnableCaching
public class RuoYiApplication {
    public static void main(String[] args) {
        // System.setProperty("spring.devtools.restart.enabled", "false");
        SpringApplication.run(RuoYiApplication.class, args);

        System.out.println("  资产管理系统启动成功  \n" +
                "  ______ _____ _      _____ _   _ _  __\n" +
                " |  ____/ ____| |    |_   _| \\ | | |/ /\n" +
                " | |__ | |    | |      | | |  \\| | ' / \n" +
                " |  __|| |    | |      | | | . ` |  <  \n" +
                " | |___| |____| |____ _| |_| |\\  | . \\ \n" +
                " |______\\_____|______|_____|_| \\_|_|\\_\\\n" +
                "                                       \n" +
                "               ");
    }
}
